package cn.gok.oa.attendance.service;

import cn.gok.oa.attendance.dto.AttendanceDto;
import cn.gok.oa.attendance.entity.ExcelData;
import cn.gok.oa.attendance.entity.TbAttendance;
import cn.gok.oa.attendance.vo.AttendanceVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gok
 * @since 2022-08-04
 */
public interface ITbAttendanceService extends IService<TbAttendance> {
    public List<TbAttendance> queryByMonth(int userId,int month);
    public int clockIn(TbAttendance attendance) throws ParseException;
    public int signOut(TbAttendance attendance) throws ParseException;
    public List<AttendanceVo> getList(AttendanceDto dto) throws ParseException;

    public List<AttendanceVo> Excel() throws ParseException;
}
